var utils = {}

utils.makepath = function(host, srcpath, remotepath, filepath) {
  let linuxpath = filepath.replace(/\\/g,"/");
  let destination = remotepath + "/" + linuxpath;
  let remoteaddr = host + destination;
  return remoteaddr.replace(srcpath,"");
}

module.exports = utils;